#ifndef S3010_H_
#define S3010_H_

#define POWER 0
#define GND   25
#define S3010_PIN 26
#define POWER_PWM 33

#define Middle 162
#define MAX_LEFT 177
#define MAX_RIGHT 146
#define MAX_SERVO (MAX_LEFT > MAX_RIGHT ? MAX_LEFT : MAX_RIGHT)
#define MIN_SERVO (MAX_LEFT > MAX_RIGHT ? MAX_RIGHT : MAX_LEFT)

class S3010 {
public:
    S3010();
    ~S3010();
    void pwmSet(int);
    void init();
};

#endif